package com.reggie.module.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.common.ResultResponseVo;
import com.reggie.module.entity.po.AddressBook;
import com.reggie.module.entity.po.ShoppingCart;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author 早睡蛋
 * @Date 2022/9/28 15:23:24
 * @Desc:
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    ResultResponseVo add(ShoppingCart shoppingCart, HttpServletRequest request);

    ResultResponseVo listByUserId(HttpServletRequest request);

    ResultResponseVo subById(Long id);

    ResultResponseVo cleanCart(HttpServletRequest request);
}
